package com.cdu.eduPanda.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdu.eduPanda.project.dao.entity.UserDO;
import com.cdu.eduPanda.project.dto.req.UserLoginReqDTO;
import com.cdu.eduPanda.project.dto.req.UserRegisterReqDTO;
import com.cdu.eduPanda.project.dto.resp.UserLoginRespDTO;

public interface UserService extends IService<UserDO> {

    UserLoginRespDTO login(UserLoginReqDTO requestParam);

    Boolean checkLogin(String username);

    void logout(String username);

    void getCaptcha(String email);

    void register(UserRegisterReqDTO requestParam);
}
